// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'  //导入相应组件
import App from './App'
import router from './router'  //会自动扫描并导入该文件夹里的路由设备

Vue.config.productionTip = false;   //设置生产提示为false

new Vue({
  el: '#app',
  router,    //配置路由，等下在App组件里会用到，需要用它来展示内容
  components: { App },
  template: '<App/>'
});
